import cv2
import os

path_dir = "F:\\study\\python\\study_LIjun\\img"
for filename in os.listdir(path_dir):
    print(filename)
    img = cv2.imread(path_dir + "/" + filename)
    cv2.imshow(filename, img)
    cv2.waitKey(0)
    cv2.imwrite("F:\\study\\python\\study_LIjun\\imgg" + "\\" + filename, img)
cv2.destroyAllWindows()
